package org.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.demo.entity.Houses;
import org.demo.entity.HousesDto;

import java.util.List;

@Mapper
public interface HousesMapper extends BaseMapper<Houses> {
    List<Houses> list(@Param("param")HousesDto house);

    List<Houses> buylist(@Param("param") HousesDto house);
    List<Houses> reslist(@Param("param") HousesDto house);
}
